package com.fmjava.service_video;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/*
 *@ClassName VideoApplication
 *@Description TODO
 *@Author 吃麻椒的花酱
 *@Date 2021/7/1 22:08
 *@Version 1.0
 */
@SpringBootApplication
@MapperScan("com.fmjava.service_video.mapper")
@EnableFeignClients
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.fmjava" })//集成Swagger2 需要配置此选项
public class VideoApplication {
    public static void main(String[] args) {
        SpringApplication.run(VideoApplication.class, args);
    }
}
